package com.migo3.sso.generated;

import com.migo3.sso.Migo2Application;
import com.migo3.sso.Migo2ApplicationBuilder;
import com.migo3.sso.Migo2ApplicationImpl;
import com.migo3.sso.pojo.UserManagerImpl;
import com.migo3.sso.pojo.UserSqlAdapter;
import com.speedment.common.injector.Injector;
import com.speedment.runtime.core.internal.AbstractApplicationBuilder;
import javax.annotation.Generated;

/**
 * A generated base {@link
 * com.speedment.runtime.core.internal.AbstractApplicationBuilder} class for the
 * {@link com.speedment.runtime.config.Project} named migo2.
 * <p>
 * This file has been automatically generated by Speedment. Any changes made to
 * it will be overwritten.
 * 
 * @author Speedment
 */
@Generated("Speedment")
public abstract class GeneratedMigo2ApplicationBuilder extends AbstractApplicationBuilder<Migo2Application, Migo2ApplicationBuilder> {
    
    protected GeneratedMigo2ApplicationBuilder() {
        super(Migo2ApplicationImpl.class, GeneratedMigo2Metadata.class);
        withManager(UserManagerImpl.class);
        withComponent(UserSqlAdapter.class);
    }
    
    @Override
    public Migo2Application build(Injector injector) {
        return injector.getOrThrow(Migo2Application.class);
    }
}